package lab02.Test19;

/**
 * Created by 14394 on 2017/11/13.
 */
public class Test {
    public static void main(String[] args) {
        String s="HelloWord";
        int size=s.getBytes().length;
        for (int i=0;i<size;){
            char tmp=s.charAt(i++);
            if (tmp<'a'){
                System.out.print((char)(tmp+32));
            }else {
                System.out.print((char)(tmp-32));
            }
        }

    }
}
